<template>
    <el-page-header @back="goBack">
        <template #content>
            <span class="text-large font-600 mr-3"> 产品预览 </span>
        </template>
    </el-page-header>
    <div class="detail_preview" v-html="info.productContent"></div>
</template>
<script setup>
import {ElPageHeader} from 'element-plus'
import { useRouter } from 'vue-router'
const router = useRouter()
const info = JSON.parse(localStorage.productPreview) 
const goBack = () => {
    router.back()
}
</script>
<style scoped>
.detail_preview{
    overflow-x: auto;
}
</style>